package com.zr.legalfactory.service;

import com.zr.legalfactory.pojo.*;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.Valid;
import java.util.List;

/**
 * Created by 陈紫陌 on 2019-10-08.
 */

public interface LegalFactoryService {


    ResultVo ofCurrentUser(String username);

    ResultVo query(@Valid PageVo pageVo);

    ResultVo add(@Valid AddVo addVo);

    ResultVo update(@Valid UpdateVo updateVo);

    ResultVo updatestatus(OnOffVo onOffVo);

    CorporateBo queryBo(int id);

    List<CorporateBo> queryList(List<Integer> ids);


    ResultVo importFile(MultipartFile multipartFile) throws Exception;
}
